import { ApiProperty, PartialType } from '@nestjs/swagger';
import { CreateResultDto } from './create-result.dto';
import { IsString } from 'class-validator';

export class UpdateResultDto extends PartialType(CreateResultDto) {
    @ApiProperty({
        description: '关键字',
        type: String,
      })
      @IsString()
      keyword: string;
    
      @ApiProperty({
        description: '详细信息',
        type: String,
      })
      @IsString()
      details: string;
}
